package com.ruoyi.app.service.impl;


import com.ruoyi.app.domain.Card;
import com.ruoyi.app.mapper.CardMapper;
import com.ruoyi.app.service.CardService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
* @author 75460
* @description 针对表【card】的数据库操作Service实现
* @createDate 2025-05-14 09:54:32
*/
@Service
public class CardServiceImpl implements CardService {
    @Autowired
    private CardMapper cardMapper;
    @Override
    public List<Card> getCardList() {
        return cardMapper.getCardList();
    }

    @Override
    public Card getByName(Integer idType) {
        return cardMapper.getByName(idType);
    }
}




